package com.itc.bpm.bean;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

//
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("bpm_task_form_value")
public class BpmTaskFormValue  extends BaseDO{
    @TableId
    private Long id;
    @ApiModelProperty(value = "任务id")
    private String taskId;
    @ApiModelProperty(value = "任务名称")
    private String taskName;
    @ApiModelProperty(value = "表单内容")
    private String fromValue;
    @ApiModelProperty(value = "表单编码")
    private String formCode;
    @ApiModelProperty(value = "表单id")
    private String formId;
    @ApiModelProperty(value = "状态 0 正常，1 历史态")
    private Integer status;
    @ApiModelProperty(value = "是否驳回 0 正常 1 驳回 2 驳回历史")
    private Integer isReback;
    @ApiModelProperty(value = "驳回人")
    private String rebackUser;
    @ApiModelProperty(value = "驳回原因")
    private String rebackReason;
    @ApiModelProperty(value = "驳回时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date rebackDate;
    @ApiModelProperty(value = "源数据id")
    private Long hisId;
    @ApiModelProperty(value = "是否驳回新增")
        private Integer isFlagAdd;
}
